An Optimal Spatio-Temporal Hybrid Model Based on Wavelet Transform for Early Fault Detection

An optimal spatio-temporal hybrid model (STHM) based on wavelet transform (WT) is proposed to improve the sensitivity and accuracy of detecting slowly evolving faults that occur in the early stage and easily submerge with noise in complex industrial production systems. Specifically, a WT is performed to denoise the original data, thus reducing the influence of background noise. Then, a principal component analysis (PCA) and the sliding window algorithm are used to acquire the nearest neighbors in both spatial and time dimensions. Subsequently, the cumulative sum (CUSUM) and the mahalanobis distance (MD) are used to reconstruct the hybrid statistic with spatial and temporal sequences. It helps to enhance the correlation between high-frequency temporal dynamics and space and improves fault detection precision. Moreover, the kernel density estimation (KDE) method is used to estimate the upper threshold of the hybrid statistic so as to optimize the fault detection process. Finally, simulations are conducted by applying the WT-based optimal STHM in the early fault detection of the Tennessee Eastman (TE) process, with the aim of proving that the fault detection method proposed has a high fault detection rate (FDR) and a low false alarm rate (FAR), and it can improve both production safety and product quality.


Introduction
Effective early fault detection in the industrial production process is extremely important for improving the operation safety of production systems and achieving the maximum economic benefit.In modern industrial processes [1], all the links are correlated.In particular, in chemistry [2], petroleum [3], pharmacies [4], and other crucial sectors, the failure of any link will lead to the failure of partial functions in the production process or even the entire process.Currently available fault detection systems cannot effectively process the dynamic data produced by the changes in high-frequency operations of the system and the complex spatial correlation between production links.In addition, these systems often fail to detect and respond to early tiny changes or abnormalities because they lack an advanced data processing method that can comprehensively and synchronously analyze complex dynamic data.Therefore, effective fault detection of complex industrial processes can improve industrial production safety.Developing new technology to improve early fault detection precision and response speeds has become a research focus in this field.
Data-driven fault detection and process monitoring techniques, such as principal component analysis (PCA) [5], partial least squares (PLSs) [6], and independent component analysis (ICA) [7], have been used to monitor complex chemical reactions and process control systems in the chemical industrial process [8].These methods extract the main or independent components from the key variables and use Hotelling's T-square (T 2 ) [9] and the square prediction error (SPE, also called the Q statistic) [10] for production process monitoring and quality control.However, these statistics are usually based on the assumption that the data come from an independent and identically distributed unimodal production environment [11].This assumption may not hold in a multimodal process [12].For instance, when the production conditions change, a single monitoring model will not be able to reflect correctly the dynamic changes in all the operation states [13].In addition, these methods often do not take nonlinear relationships and complex correlations between time sequences into account, which may lead to the delayed or missed detection of faults.
There are multiple variables involved in the fault detection of modern industrial systems, so the dynamic analysis method has been applied to the real-time monitoring of key parameters in the industrial production process [14].Zhou et al. proposed a hierarchical PCA method based on differential features for dynamic fault detection and used it to identify abnormalities in the production process [15].Pan et al. developed a generalized likelihood ratio (GLR)-based fault detection method for non-Gaussian dynamic processes [16].Song et al. made a dynamic inner slow feature analysis and proposed a method based on feature selection and extraction for enhancing the sensitivity of fault detection in walking gear systems [17].However, the performance of the above-mentioned methods may be affected by the changes in the actual process.In particular, when they are used for mean-shift detection, delays are likely to occur, and they often cannot detect the fault accurately in time [18].
To solve the problem of nonlinear features in the fault detection of modern industrial systems, Mohammed et al. designed an expanded Kalman fault detection method specifically for nonlinear random systems [19].Ferdowsi improved this method and introduced fault detection and prediction techniques for actuators and sensors applicable to multidimensional nonlinear partial differential equation systems [20].Moreover, Han et al. proposed a new fault detection method based on nonlinear factorization and fuzzy models, which could identify early faults that caused data distribution changes [21].Yan and Zhang et al. analyzed the hierarchical structure of the nonlinear system and built an unmeasurable nonlinear system fault detection framework [22].Furthermore, Gong et al. used multi-source information fusions in the fault detection of nonlinear systems [23].This method can effectively detect early faults in chemical processes.
With the development of machine learning in the artificial intelligence field, it has been applied to fault detection and prediction in modern industrial systems [24].Harichandran et al. used hybrid machine learning frameworks to recognize device activity and detect early faults in automated construction [25].Wang et al. employed graph autoencoders and ensemble learning for the fault detection of bearings [26].Shubita et al. proposed a method for fault detection in rotating machines based on sound signals using edge machine learning [27].Kumar et al. summarized research advances in the machine learning algorithm-based fault detection of asynchronous motors [28].The above-mentioned learning algorithms perform well in early fault detection, but they require a large training dataset, which is difficult to obtain in practical situations [29].In addition, deep learning models have high computational complexity, requiring significant computational resources for training and inference, which makes it difficult to meet the demands of real-time detection [30,31].The interpretability of deep learning models is also low, making the diagnostic results challenging for industrial engineers to understand and apply.
New statistic models have been developed for data analysis and to improve detection sensitivity and accuracy.Hou et al. introduced a spatial data processing technique into the spatial geometry-based fault detection of output feedback systems, aiming at solving the problems that traditional methods encounter when processing complex data [32].Qian et al. developed a method of fault detection in wind turbines based on spatio-temporal features and neighborhood operation states [33].Temporal sequence analysis and spatial analysis improved the ability to predict the fault development trend.However, some of these methods cannot acquire the nonlinear relationship between large-scale datasets and systems in complex industrial processes, and some cannot solve the complex correlations between temporal sequences.Moreover, their generalization ability and reliability in practical applications still require verification.
Therefore, a wavelet transform (WT)-based optimal spatio-temporal hybrid model (STHM) is proposed for the high-sensitivity and high-precision detection of early faults in complex industrial production systems [34].A WT is made first to denoise the data and reduce the influence of background noise.PCA, cumulative sum (CUSUM), and mahalanobis distance (MD) methods are then used to reconstruct the STHM with temporal and spatial sequences [35][36][37].Moreover, the kernel density estimation (KDE) method is used to optimize the detection process, thereby enhancing the correlation between high-frequency temporal dynamics and space and improving fault detection precision.Simulations are made on the Tenessee Eastman (TE) experimental platform to compare the fault detection performance of the proposed model with that of the PCA and spatiotemporal nearest neighbor (STN) methods [38,39].This study aims to demonstrate that the proposed method has a high FDR and a low FAR, and it can improve production safety and product quality.

Wavelet Transform
Data collected from chemical processes are often complex and dynamic, with highdimensional and complex temporal sequences.WT is effective in the analysis of signals at different scales since it has the characteristics of time-frequency localization.Therefore, WT is able to preserve more key information in dynamic processes while reducing the impact of noise.During the WT process, signal energy is mainly concentrated in some coefficients, and noise energy is distributed on the entire coefficient axis.The wavelet coefficient of signals is generally larger than that of noise.These coefficients describe the energy distribution of signals at different scales.A noisy model is represented as follows: where X(i) is the real signal required, Z(i) is the original signal with noise, e(i) is noise, and ε is the variable coefficient of noise.
To differentiate real signals from noise, a corresponding threshold is set, and wavelet coefficients smaller than this threshold are removed.In this study, a soft threshold function is used.All the wavelet coefficients smaller than the set threshold are considered as noise and removed, and those larger than the threshold are retained and taken as important components of signals.The soft threshold function is the following: where w j,k is the kth wavelet coefficient on the jth layer of WT, and thr is the threshold.A proper threshold can improve the noise reduction effect and help preserve key features.The threshold is calculated by the following: where σ is the standard deviation of noise after decomposition on the jth layer.It is estimated by the following: The real signal X(i) obtained by WT provides more accurate and clear data support for subsequent fault detection and improves the reliability and accuracy of fault detection.The WT process is detailed in Figure 1.As shown in Figure 1, there are several key steps for wavelet denoising: 1.
The WT of the original signal is performed.In this process, the signal is decomposed to i layers, including an approximate component cai and detailed components (cd1, cd2, ..., cdi).

2.
The detailed components are compared with the given threshold (thr), and the signal components lower than this threshold are deemed noise and removed.

3.
The processed detailed components and unprocessed approximate components are used to reconstruct the signal, which is then transformed to the time domain from the wavelet domain.The signal is, thus, finally restored.

Principal Component Analysis
In the fault detection of multivariate industrial processes, PCA is extensively applied to the dimensional reduction or feature extraction of data as it can effectively identify the most important components in data.
In this study, we assume that an industrial process has m observed variables, which are obtained by n times of data sampling.The data are preprocessed by WT and a new dataset X(i) is acquired.The new dataset is divided into a training dataset X tr = x tr 1 , x tr 2 , ......, x tr n T ∈ R n×m and a testing dataset The training dataset X tr and testing dataset X te are standardized into n × m dimensional matrices X tr nm and X te nm , respectively.The matrices are normalized to eliminate the adverse effect of primary variables in the dimensional reduction process.The dispersion of m columns of data is measured according to the correlation between two features calculated by the covariance formula.The m × m dimensional covariance matrix C mm constructed for the calculation of the correlation between two of each m features are indicated by the following: The eigenvalue λ m and eigenvector p m of C mm are solved.By arranging eigenvalues λ m according to the size, we can obtain corresponding eigenvectors p m and generate a matrix P m .Supposing that m dimensional eigenvectors are reduced to k dimensional eigenvectors, the first k columns of the load matrix are selected to construct a new load matrix P mk .Then, X nm is reconstructed, and a score matrix is obtained.That is, the original dataset is projected onto the space formed by k eigenvectors.The PCA model is finally obtained as follows: X = X nm P mk + E where X nm P mk is the principal subspace and E is the residual subspace.The principal components are selected according to the cumulative percent variance (CPV).An expected CPV no smaller than 85% is given at first.The first k eigenvalues of C mm are selected, and the ratio of the sum of these eigenvalues to the sum of all eigenvalues reflects the CPV.The k value is determined when the CPV calculated is greater than the given value for the first time.The calculation formula for CPV is as follows: In this study, the PCA method is used to process the training dataset X tr nm .The load matrix P mk derived from Formulas ( 5)-( 7) effectively extracts the most important variations in the data.These principal components are used to reconstruct the testing dataset X te nm , and finally, the principal subspace N(x) ∈ R n×k is obtained.The PCA method optimizes data processing and can effectively identify and analyze key features in complex data.

Spatio-Temporal Nearest Neighbor Method for Fault Detection
A sliding window W is given to find the nearest neighbors T(x) = x 1 , ..., x f , ..., x W ∈ R W×k of the sample x in the principal subspace N(x) for the time dimension.The k-nearest neighbors Q(x) = {x 1 , x 2 , ..., x K } ∈ R K×k of the sample x f in the spatial dimension are searched based on distance.The mean and standard deviation of Q(x) are calculated by the following: The sample x is standardized: Euclidean distance is used to measure the distance between two points: where x and y are two n dimensional points, and i is the dimension of data.The distance between each sample in the dataset and its k-nearest neighbors is calculated and used to estimate the local density of the sample.The distance is calculated by the following: where x (i) is the ith nearest neighbor of the sample x.All D k (x) values are arranged in order, and a high percentile p (of 0.95) is taken as the control limit.Data points with the highest estimated local density are considered a potential abnormality.The threshold is calculated by the following: where k is the pth percentile of all D k (x) values.During the monitoring process, the D k (x new ) value of a new observed point is calculated and compared with the control limit STN to determine if a malfunction occurs.

Construction of the Spatio-Temporal Hybrid Model
A sliding window W is given to find the nearest neighbors T(x) = {x 1 , x 2 , ..., x W } ∈ R W×k of the sample x in the principal subspace N(x) in the time dimension.The k-nearest neighbors S(x) = {x 1 , x 2 , ..., x K } ∈ R K×k in the spatial dimension are searched based on distance.
In data analysis, especially in the monitoring of industrial processes or system state changes, CUSUM is a commonly used algorithm for the detection of minor changes.CUSUM is a sequential detection technology that accumulates incremental changes in data by recursion.The cumulative sum obtained can be used to update and detect statistical deviations in the data flow in real-time and effectively capture small changes or abnormalities in a process.The CUSUM formula for each variable is defined as follows: where CUSUM ij and x ij are the CUSUM and observed values of the jth variable in the ith sample, respectively; µ j is the expected offset value of the jth variable; and c is the decision interval.
The decision interval has great influence on the sensitivity and FAR of the CUSUM algorithm.To improve the performance of the algorithm, the standard deviation σ of the nearest neighbor sample set in the time dimension is estimated at first.A coefficient r is given, and the sensitivity of CUSUM is measured.The decision interval is calculated by the formula below to determine the change threshold of the statistic.
According to Formulas ( 14) and (15), for a given time window W, the statistic S t of the sample x in the time dimension is expressed as follows: The mean µ(x) = 1 K ∑ K i=1 x i and covariance matrix ∑ of the nearest neighbor set S(x) of the sample x in the spatial dimension are obtained.
First, data points are rotated, and dimensions are linearly independent.Then, we obtain the following: Since the dimensions are linearly independent after transformation and the eigenvalue of each dimension is its variance, we obtain the following: Through the rotation and scaling of Euclidean distance, MD is acquired as follows: The statistic S s of the sample x in the spatial dimension is derived from Formulas (17) to (19):

Calculation of the Hybrid Statistic Using the Absolute Deviation
The absolute deviation can improve the sensitivity of the model to data changes in time and spatial dimensions, especially when statistics are related in time.The absolute deviation is defined as follows: where M i is the absolute deviation of the statistics of the ith sample in time and spatial dimensions.The basic weight of the time dimension is thus obtained as follows: Through scaling, the ratio of statistics in different dimensions of the STHM enables the measurement of the maximum fault severity is obtained.The final hybrid statistic S ts is expressed as follows: The KDE method can flexibly and accurately estimate the distribution density of complex data and improve fault detection accuracy and reliability.A significance level of α = 0.05 is given, and the upper limit of S ts is measured using the KDE method: where p(z) is the probability density function of a random variable z.The following fault detection logic is used in practice as follows: S ts (x i ) ≤ η S ts (α), ∀i ∈ (1, 2, ..., n) normal S ts (x i ) > η S ts (α), ∀i ∈ (1, 2, ..., n) f ault (25)

Steps of Fault Detection by the Spatio-Temporal Hybrid Model
To solve the problem that the nearest neighbor set of the sample in the time dimension is incomplete, the window is extended forward to ensure that the sample set is complete.The fault detection flowchart based on the Spatiotemporal Hybrid Model (STHM) is shown in Figure 2. The fault detection process of the STHM is detailed as follows.
Normal samples are collected to form a dataset Z(i) for the model, and a WT is conducted to reduce the influence of background noise.A real dataset X(i) is thus obtained.

2.
The real dataset is divided into a training dataset X tr = x tr 1 , x tr 2 , ......, x tr n T ∈ R n×m and a testing dataset X te = x te 1 , x te 2 , ......, x te n T ∈ R n×m , which are standardized into n × m dimensional matrices X tr nm and X te nm .

3.
The PCA method is used to build a mode with a normal training dataset, and a load matrix P mk is obtained.Through further calculation, the principal subspace N(x) ∈ R n×k of the testing dataset is acquired.

4.
A sliding window W is given to find the nearest neighbor set T(x) = {x 1 , x 2 , ..., x W } of the sample x in the time dimension.The k-nearest neighbors S(x) = {x 1 , x 2 , ..., x K } in the spatial dimension are searched based on distance.The statistics S t and S s of the sample x in time and spatial dimensions are calculated, respectively.

5.
The moving window method is used to repeat the last step.Statistics S t in n time dimensions and statistics S s in n spatial dimensions are obtained.6.
The absolute deviation M i is calculated, and the hybrid statistic S ts is obtained by the STHM.

7.
A confidence level is given, and the control limit is estimated using the KDE method.
Testing samples are collected, and they constitute a sample set Z(i) ′ .Then, a WT is performed to obtain a real dataset X(i) ′ for online detection.2.
The load matrix P mk obtained in offline detection is reconstructed, and the principal subspace N(x) ′ of the real dataset is obtained.

3.
The moving window method is used to calculate statistics S t ′ in the time dimension and S s ′ in the spatial dimension.

4.
The weight ω i is calculated based on the absolute deviation, and then assigned to statistics S t ′ in the time dimension and S s ' in the spatial dimension.The hybrid statistic S ts ′ is finally acquired.

5.
The control limit η S ts (α) obtained in offline detection is compared with the hybrid statistic S ts ′ to determine if a fault occurs in the testing sample.

Experiment and Result Analysis of the TE Process 4.1. Simulation
The TE process is a reliable simulation method mainly used in research on the control of chemical processes and also in multiple fields such as machinery equipment state estimation in production, the production state prediction model, and recognition of equipment failure sounds.Data produced by the platform are time-varying and nonlinear, with strong coupling strength, so it can adequately simulate typical features of real complex industrial process systems.The TE process mainly consists of five operating units, namely, a product condenser, a reactor, a product strip, a recycle compressor, and a vapor-liquid separator.The process flow diagram of the TE process is shown in Figure 3.As shown in Table 1, in the TE process, a total of 21 faults were detected, which were classified into six types.Faults 1 to 7 are caused by step changes in process variables.Fault 4, which is the abnormal temperature of cooling water in the reactor, is a case in point.Faults 8 to 12 are attributed to random variations in process variables, such as Fault 12, which is the abnormal inlet temperature of cooling water in the condenser.Fault 13 refers to the abnormal constants of reaction kinetics, which are caused by slow changes in reaction kinetics.Faults 14 and 15 (which refer to the abnormal cooling water valve in the condenser) are triggered by sticky valves.Other faults are unknown types.
The dataset of the TE process simulates the real industrial production process.The 48 h-long simulation data were collected every 3 min, and fault data were introduced from the 8th hour.There was 1 normal state dataset and 21 fault datasets of different fault types.The data of each fault type were subdivided into a training set (containing 500 samples) and a testing set (containing 960 samples).To verify the performance of the WT-based STHM in fault detection, these were used to detect faults in the TE process, and their performance was compared to that of STN, T 2 , and SPE as part of the PCA method.

Signal Processing Model Demonstration
To analyze the effectiveness of the proposed model in signal processing, demonstrations were conducted using the training set of the TE dataset.The tenth feature column was selected for comparative analysis before and after wavelet transform.
First, the raw data of the tenth feature column were analyzed.Next, the same feature column data were processed using wavelet transform.Wavelet transform, through multiscale analysis, effectively separated the signal from the noise.Figure 4 shows the denoised signal before and after wavelet transform.It can be seen from the figure that wavelet transform reduces the noise, making the main features of the signal more prominent.Figure 5 shows the results of Fault 4 detection using the four different methods.STHM responds fast and shows high sensitivity to the fault, especially in the early stage of the fault, due to its comprehensive consideration of the statistical information of time and space.Compared with STN, STHM shows better detection performance before and at the time of fault occurrence.Compared with the T 2 of the PCA method, STHM performs better when the fault is happening.STHM is superior to the SPE of the PCA method during detection performance and before fault occurrence.

Simulation Result Analysis
Figure 6 shows the results of Fault 10 detection using the four different methods.Compared with other methods, STHM still exhibits excellent performance and can capture accurately and quickly respond to data fluctuations caused by random variations.STHM not only has a lower FAR than STN before fault occurrence but is also more accurate than STN in fault detection after fault occurrence.Compared with the T 2 and SPE of the PCA method, STHM can identify the fault earlier, with a lower FAR.
Figure 7 summarizes the results of Fault 15 detection using the four different methods.STHM has advantages over the other three methods in the accurate identification of early minor faults.STHM has a lower FAR and faster response speed than STN.STHM is able to detect the signs of fault occurrence earlier than the two statistic measures of the PCA method.In general, STHM can greatly enhance responses to early faults and reduce the FAR.It provides a more effective and practical technical means of detecting early faults.

Discussion
Products FAR and FDR are often used as indicators of fault detection in industrial processes.In the experiment, the number of normal samples is labeled as TN, the number of fault samples FN, the number of false alarms f n , and the number of samples for fault detection t n .Product FAR, also called the false detection rate, refers to the probability that the statistic exceeds the threshold before fault occurrence.A low FAR indicates better detection performance.The FAR is expressed as follows: FDR refers to the probability of false alarm rates when the fault occurs.In the TE process, FDR is the probability that the statistic exceeds the threshold at the time of fault occurrence.It is expressed as follows: Eight different types of faults in the TE process were detected using the STHM, STN, and PCA methods.Their product FARs and FDRs were calculated, and the results are shown in Table 2. Figure 8 compares the FDRs of different methods.In the table, the bold numbers indicate that the product FARs and FDRs of STHM are better than those of the STN and PCA methods.

Discussion
Products FAR and FDR are often used as indicators of fault detection in industrial processes.In the experiment, the number of normal samples is labeled as , the number of fault samples , the number of false alarms   , and the number of samples for fault detection   .Product FAR, also called the false detection rate, refers to the probability that the statistic exceeds the threshold before fault occurrence.A low FAR indicates better detection performance.The FAR is expressed as follows: FDR refers to the probability of false alarm rates when the fault occurs.In the TE process, FDR is the probability that the statistic exceeds the threshold at the time of fault occurrence.It is expressed as follows: Eight different types of faults in the TE process were detected using the STHM, STN, and PCA methods.Their product FARs and FDRs were calculated, and the results are shown in Table 2. Figure 8 compares the FDRs of different methods.In the table, the bold numbers indicate that the product FARs and FDRs of STHM are better than those of the STN and PCA methods.As shown in Table 2, STHM is superior to other methods in the detection of most types of faults.It has an excellent FDR and product FAR, indicating that it is highly sensitive to and can accurately identify early faults.Figure 8 compares the FDRs of different methods in the detection of different types of faults.
The FDRs of STHM for Faults 1 and 4 (both are caused by step change) are 99.8% and 99.9%, respectively, indicating the outstanding detection performance of STHM.The product FAR of STHM is 0%, demonstrating its higher reliability than the PCA and SPE methods.This is because STHM optimizes data denoising and feature extraction by integrating the WT with spatio-temporal data fusion.Therefore, STHM is more sensitive to and can accurately capture early step changes.
STHM also performs much better than other methods in the detection of Fault 10 (caused by random variations).It has an FDR of 99.4%, which is much higher than the 41.6% of PCA-T 2 , 71.3% of PCA-SPE, and 75.6% of STN.This finding indicates that STHM can capture more accurately and respond more quickly to data fluctuations caused by random variations.
Moreover, STHM has a higher FDR in the detection of Faults 13 and 15 (caused by minor changes) in the principal component space compared with PCA and STN methods.It demonstrates that STHM has advantages in the detection of minor faults.Through the comprehensive analysis of time and space data, STHM shows improved sensitivity to tiny changes and can accurately detect the signs of faults in the early stage.Therefore, STHM enhances the early warning performance of the system.The product FAR of STHM is slightly higher than that of PCA-T 2 .The reason for this may be that the calculations of CUSUM in the time dimension and its correlation in the spatial dimension increase the sensitivity of STHM to faults, leading to it responding to normal fluctuations or non-fault variations.The simulation results prove that STHM performs excellently in the detection of early faults in complex industrial processes.
Early fault detection has significant practical application value in many industrial fields.In chemical production processes, any failure at a given stage can lead to severe safety incidents and economic losses.The proposed model can be used to detect early faults in critical equipment, such as reactors and separation devices, preventing downtime and accidents caused by equipment failure.For example, by monitoring the temperature and pressure data of a reactor, the proposed model can identify anomalies at an early stage of failure, allowing timely preventive measures to be taken to ensure production safety.
In automated manufacturing processes, equipment failure can lead to production line stoppages, affecting production efficiency.The proposed model can be used to detect early faults in various mechanical equipment on the production line, enhancing equipment maintenance management.For example, in automotive manufacturing, by monitoring the motion trajectories and current data of robotic arms, the proposed model can provide early warnings of mechanical failures, reducing downtime and maintenance costs.

Conclusions
Traditional spatio-temporal analysis methods have the problem of poorly correlating high-frequency temporal dynamics with space.Therefore, a WT-based STHM is proposed in this paper to improve the accuracy and sensitivity of early fault detection in complex industrial systems.The data were denoised through the WT, and the PCA method was used to construct the principal subspace.Moreover, the CUSUM and MD were used to build the hybrid model, which greatly enhanced fault detection performance.According to the simulation of the TE process, STHM outperforms the PCA and STN methods in both the FDR and FAR, indicating the great potential of STHM in actual industrial applications.However, the high sensitivity of STHM may lead to false alarms.Future research should focus on the optimization of model performance and improvement of algorithm robustness so that more comprehensive technical innovations and applications can be achieved.

Figure 2 .
Figure 2. Flowchart of early fault detection based on the spatio-temporal hybrid model.

Figure 3 .
Figure 3. Process flow diagram of the TE process.A total of 52 measurements, including 41 measured variables and 11 manipulated variables, were collected in the TE process.As shown in Figure 3, the measured variables included material flow, product pressure, reaction temperature, liquid level, etc.The manipulated variables are the open degrees of the valves.The degrees are set in the range of [0, 100], with 0 indicating close and 100 indicating fully open values.Table1introduces the main fault types of the TE process, including step change, random variations, the slow drift of variables, and sticky valves.

Figure 4 .
Figure 4. Detection results of statistical measures for Fault 4 using different detection methods.(a) Demonstration of raw data for Fault 1; (b) demonstration of denoised data for Fault 1; (c) demonstration of raw data for Fault 2; (d) demonstration of denoised data for Fault 2; (e) demonstration of raw data for Fault 3; (f) demonstration of denoised data for Fault 3; (g) demonstration of raw data for Fault 4; (h) demonstration of denoised data for Fault 4; (i) demonstration of raw data for Fault 5; (j) demonstration of denoised data for Fault 5; (k) demonstration of raw data for Fault 8; (l) demonstration of denoised data for Fault 8; (m) demonstration of raw data for Fault 10; (n) demonstration of denoised data for Fault 10; (o) demonstration of raw data for Fault 12; (p) demonstration of denoised data for Fault 12; (q) demonstration of raw data for Fault 13; and (r) demonstration of denoised data for Fault 13.

Fault 4 (
caused by step change), Fault 10 (caused by random variations), and Fault 15 (caused by sticky valves) were selected from the TE process for the comparison of the performance of STHM compared to that of the STN and PCA methods.These types of faults exhibited different characteristics in the early stages, which could fully demonstrate the comprehensive capability of detecting early faults.By analyzing the characteristics of the training dataset, the time window width was set to 8, and the length of the spatial nearest neighbor set was set to 10.The results are shown in Figures 5-7.The dashed line in the figure represents the threshold line.

Figure 5 .
Figure 5. Detection results of statistical measures for Fault 4 using different detection methods.(a) Statistical measures of the STHM method; (b) statistical measures of the STN method; (c) T 2 statistics of the PCA method; and (d) SPE statistics of the PCA method.

Figure 6 .
Figure 6.Detection results of statistical measures for Fault 10 using different detection methods.(a) Statistical measures of the STHM method; (b) statistical measures of the STN method; (c) T 2 statistics of the PCA method; and (d) SPE statistics of the PCA method.

Figure 7 .
Figure 7. Detection results of statistical measures for Fault 15 using different detection methods.(a) Statistical measures of the STHM method; (b) statistical measures of the STN method; (c) T 2 statistics of the PCA method; and (d) SPE statistics of the PCA method.

Figure 8 .
Figure 8.Comparison chart of FDR effects for different detection methods.

Figure 8 .
Figure 8.Comparison chart of FDR effects for different detection methods.

Table 1 .
Main fault types of the TE process.

Table 2 .
Fault detection rates and product false alarm rates for different detection methods.

Table 2 .
Fault detection rates and product false alarm rates for different detection methods.